
pub fn render_mandelbrot(escape_vals: Vec<Vec<usize>>){
    for row in escape_vals {
        let mut line = String::with_capacity(row.len());
        for column in row {
            line.push( match column {
                0..=2 => ' ',
                3..=5 => '.',
                6..=10 => '•',
                11..=30 => '*',
                31..=100 => '+',
                101..=200 => 'x',
                201..=400 => '$',
                401..=700 => '#',
                _ => '%',
            })
        }
        println!("{}",line)
    }
}